#include <REGX52.H>
#include "Delay.h"
#include "Uart.h"

unsigned char sec;
void main() {
    UartInit();
    while(1) {

    }
}

void UART_Routine() interrupt 4 {
    P2=0x00;
    if(RI==1) {
        P2=~SBUF;
        UART_SendByte(SBUF);
        RI=0;
    }
}

